package cn.tank.bean;

import cn.tank.service.IHelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;


@Component
public class ConsumerComponent {
    @Reference
    private IHelloService helloService;

    public String sayHello1(String name){
        return helloService.methodA(name);
    }

    public String sayHello2(String name){
        return helloService.methodB(name);
    }

    public String sayHello3(String name){
        return helloService.methodC(name);
    }
}
